FROM java:8
MAINTAINER "qik"<1755979775@qq.com>
ADD one-file-0.0.1-SNAPSHOT.jar one-file.jar
ENV JAVA_OPTS="\
-XX:SurvivorRatio=8 \
-XX:+UseConcMarkSweepGC \
"
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /one-file.jar" ]
